using FluentIoC.Tests.FactoryServices.Interfaces;

namespace FluentIoC.Tests.Factories
{
    public class FactoryServiceFactory
    {
        public virtual IFactoryService Create()
        {
            return new FactoryService { Message = "I've been created by a factory!" };
        }

        public virtual IFactoryService Create2()
        {
            return new FactoryService2 {Message = "2"};
        }

        public IFactoryService NotVirtual()
        {
            return new FactoryService();
        }
    }
}